Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Run once for each item tooltip #9486

Merged
merged 15 commits into from
Jun 4, 2024

Conversation

michael-radency
Copy link
Contributor

@michael-radency michael-radency commented May 22, 2024

Summary

image

Tooltip when hovering on the "Test step" button in the Node Details View.

  • The tooltip says "Will execute 10 times, once for each input item"
  • The tooltip is not displayed if there's only 1 input item
  • The tooltip is displayed max 10 times to each user (then we save a local storage variable to stop showing it)

Related tickets and issues

https://linear.app/n8n/issue/NODE-1327/run-once-for-each-item-tooltip

@michael-radency michael-radency added ui Enhancement in /editor-ui or /design-system n8n team Authored by the n8n team labels May 22, 2024
packages/editor-ui/src/components/NodeDetailsView.vue Outdated Show resolved Hide resolved
@@ -1748,3 +1749,19 @@ export function getCredentialsForNode(

return object.description.credentials ?? [];
}

export function isSingleExecution(type: string, parameters: INodeParameters): boolean {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice if you could add some tests for this

@michael-radency michael-radency requested a review from elsmr June 3, 2024 12:24
Copy link

cypress bot commented Jun 4, 2024

2 flaky tests on run #5294 ↗︎

0 354 0 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 michael-radency 🗃️ e2e/*
Project: n8n Commit: c5bd89918f
Status: Passed Duration: 04:46 💡
Started: Jun 4, 2024 7:04 AM Ended: Jun 4, 2024 7:09 AM
Flakiness  5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
Flakiness  24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #9486 ↗︎

Copy link
Contributor

github-actions bot commented Jun 4, 2024

✅ All Cypress E2E specs passed

@michael-radency michael-radency merged commit b91e50f into master Jun 4, 2024
28 checks passed
@michael-radency michael-radency deleted the node-1327-run-once-for-each-item-tooltip branch June 4, 2024 07:18
@github-actions github-actions bot mentioned this pull request Jun 5, 2024
@janober
Copy link
Member

janober commented Jun 5, 2024

Got released with n8n@1.45.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants